﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MainMasterPage : System.Web.UI.MasterPage
{
    public string SiteWrap { get; set; }
    public bool IsShowFooter { get; set; }
    public string Style
    {
        get
        {
            if (IsShowFooter == null)
                IsShowFooter = false;

            if (IsShowFooter)
                return "display:block";
            else
                return "display:none";
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        headercontrol1.SiteWrap = SiteWrap;
    }
}
